https://practice.geeksforgeeks.org/problems/meta-strings/0